// 公共标记点配置
const commonMarkerConfig = {
  // iconPath: 'https://xitoss.oss-cn-shanghai.aliyuncs.com/appointMiniImg/position_icon.png',
  iconPath: 'https://xit-edu.cn/oss/appointMiniImg/position_icon.png',
  width: 20,
  height: 20
};

// 文化场馆相关标记点数据
const culturalVenuesData = {
  markersData: [
      {
          id: 0,
          title: '图书馆',
          latitude: 24.6153,
          longitude: 118.06563,
        ...commonMarkerConfig
      },
      {
          id: 1,
          title: '校史馆',
          latitude: 24.61702761,
          longitude: 118.0687635442148,
        ...commonMarkerConfig
      },
      {
          id: 2,
          title: '教育博物馆',
          latitude: 24.61692402680608,
          longitude: 118.06537247380989,
        ...commonMarkerConfig
      },
      {
          id: 3,
          title: '德文厦门工学院马拉松博物馆',
          latitude: 24.6172276,
          longitude: 118.06906354,
        ...commonMarkerConfig
      },
      {
          id: 4,
          title: '教育信息文化馆',
          latitude: 24.615393,
          longitude: 118.0652902590318,
        ...commonMarkerConfig
      },
      {
          id: 5,
          title: '工程文化馆',
          latitude: 24.61869385,
          longitude: 118.0689902590318,
        ...commonMarkerConfig
      },
      {
          id: 6,
          title: '体育文化馆',
          latitude: 24.613867,
          longitude: 118.063237,
        ...commonMarkerConfig
      },
      {
          id: 7,
          title: '源缘美术馆',
          latitude: 24.61662656,
          longitude: 118.06889025322272,
        ...commonMarkerConfig
      },
      {
          id: 8,
          title: '射艺馆',
          latitude: 24.613668681,
          longitude: 118.0649366148524,
        ...commonMarkerConfig
      },
      {
          id: 9,
          title: '音乐艺术馆',
          latitude: 24.616185,
          longitude: 118.067326,
        ...commonMarkerConfig
      },
      {
          id: 10,
          title: '弘本书馆',
          latitude: 24.616069,
          longitude: 118.06794,
        ...commonMarkerConfig
      },
      {
          id: 11,
          title: '标准化考试中心',
          latitude: 24.614571389,
          longitude: 118.0622101494354,
        ...commonMarkerConfig
      },
      {
          id: 12,
          title: '国际钢琴艺术交流中心',
          latitude: 24.61669357,
          longitude: 118.06820546931748,
        ...commonMarkerConfig
      }
  ]
};

// 园区相关标记点数据
const parkAreasData = {
  markersData: [
      {
          id: 0,
          title: '至未园',
          latitude: 24.61607913,
          longitude: 118.06645742733785,
        ...commonMarkerConfig
      },
      {
          id: 1,
          title: '卓尔园',
          latitude: 24.61569385,
          longitude: 118.0649902590318,
        ...commonMarkerConfig
      },
      {
          id: 2,
          title: '天工园',
          latitude: 24.61732761,
          longitude: 118.06866354421486,
        ...commonMarkerConfig
      },
      {
          id: 3,
          title: '天鹭园',
          latitude: 24.61732761,
          longitude: 118.06866354421486,
        ...commonMarkerConfig
      },
      {
          id: 4,
          title: '百树园',
          latitude: 24.6166265621,
          longitude: 118.06729025322272,
        ...commonMarkerConfig
      },
      {
          id: 5,
          title: '同舟园',
          latitude: 24.61813594566,
          longitude: 118.06938237621853,
        ...commonMarkerConfig
      },
      {
          id: 6,
          title: '校友园',
          latitude: 24.61813594566,
          longitude: 118.06938237621853,
        ...commonMarkerConfig
      },
      {
          id: 7,
          title: '问津园',
          latitude: 24.614472184419,
          longitude: 118.06691742617602,
        ...commonMarkerConfig
      },
      {
          id: 8,
          title: '汲善园',
          latitude: 24.6150927758,
          longitude: 118.06726074892406,
        ...commonMarkerConfig
      },
      {
          id: 9,
          title: '栖仁园',
          latitude: 24.61447218441999,
          longitude: 118.06691742617602,
        ...commonMarkerConfig
      }
  ]
};

// 大厦相关标记点数据
const buildingData = {
  markersData: [
      {
          id: 0,
          title: '至善大厦',
          latitude: 24.6147599,
          longitude: 118.06655398686071,
        ...commonMarkerConfig
      },
      {
          id: 1,
          title: '政务大厦',
          latitude: 24.6150025,
          longitude: 118.06527591428699,
        ...commonMarkerConfig
      },
      {
          id: 2,
          title: '厚德大厦',
          latitude: 24.6158669,
          longitude: 118.06474215470216,
        ...commonMarkerConfig
      },
      {
          id: 3,
          title: '怀德大厦',
          latitude: 24.6168886,
          longitude: 118.06619591196335,
        ...commonMarkerConfig
      },
      {
          id: 4,
          title: '诚意大厦',
          latitude: 24.6160523,
          longitude: 118.06229866233139,
        ...commonMarkerConfig
      },
      {
          id: 5,
          title: '正心大厦',
          latitude: 24.616069,
          longitude: 118.06794,
        ...commonMarkerConfig
      },
      {
          id: 6,
          title: '日新大厦',
          latitude: 24.6168667,
          longitude: 118.06516728482374,
        ...commonMarkerConfig
      },
      {
          id: 7,
          title: '博雅大厦',
          latitude: 24.6167814,
          longitude: 118.06825853066053,
        ...commonMarkerConfig
      },
      {
          id: 8,
          title: '明德大厦',
          latitude: 24.6163388,
          longitude: 118.06881240681263,
        ...commonMarkerConfig
      },
      {
          id: 9,
          title: '工程坊',
          latitude: 24.6183310,
          longitude: 118.06854820922916,
        ...commonMarkerConfig
      }
  ]
};

// 学院相关标记点数据
const collegeData = {
  markersData: [
      {
          id: 0,
          title: '机械电气与信息工程学院',
          latitude: 24.6170740,
          longitude: 118.06937030627816,
        ...commonMarkerConfig
      },
      {
          id: 1,
          title: '建筑科学与土木工程学院',
          latitude: 24.6165290,
          longitude: 118.06475690685149,
        ...commonMarkerConfig
      },
      {
          id: 2,
          title: '博雅教育与艺术传媒学院',
          latitude: 24.6166277,
          longitude: 118.06800774412193,
        ...commonMarkerConfig
      },
      {
          id: 3,
          title: '商学院',
          latitude: 24.6161230,
          longitude: 118.06809759812238,
        ...commonMarkerConfig
      },
      {
          id: 4,
          title: '外国语学院',
          latitude: 24.61662168,
          longitude: 118.0689800448732,
        ...commonMarkerConfig
      },
      {
          id: 5,
          title: '数据科学与计算机学院',
          latitude: 24.61581821,
          longitude: 118.0681230791076,
        ...commonMarkerConfig
      },
      {
          id: 6,
          title: '国际教育学院',
          latitude: 24.61662168,
          longitude: 118.0689800448732,
        ...commonMarkerConfig
      },
      {
          id: 7,
          title: '国学院',
          latitude: 24.61559509,
          longitude: 118.0675329931344,
        ...commonMarkerConfig
      },
      {
          id: 8,
          title: '体育部',
          latitude: 24.6139149,
          longitude: 118.06319049681359,
        ...commonMarkerConfig
      },
      {
          id: 9,
          title: '思想政治理论课教学部',
          latitude: 24.61559509,
          longitude: 118.0675329931344,
        ...commonMarkerConfig
      },
      {
          id: 10,
          title: '研究生辅考学院',
          latitude: 24.6154695,
          longitude: 118.06596121867857,
        ...commonMarkerConfig
      },
      {
          id: 11,
          title: '继续教育学院',
          latitude: 24.6165436,
          longitude: 118.06326425756023,
        ...commonMarkerConfig
      },
      {
          id: 12,
          title: '教师进修学院',
          latitude: 24.61559509,
          longitude: 118.0675329931344,
        ...commonMarkerConfig
      },
      {
          id: 13,
          title: '学研产企业学院',
          latitude: 24.616699715277576,
          longitude: 118.06341446126248,
        ...commonMarkerConfig
      }
  ]
};

// 书院相关标记点数据
const academyData = {
  markersData: [
      {
          id: 0,
          title: '友爱书院',
          latitude: 24.6162839,
          longitude: 118.06333265388895,
        ...commonMarkerConfig
      },
      {
          id: 1,
          title: '友达书院',
          latitude: 24.6155426,
          longitude: 118.06312344158935,
        ...commonMarkerConfig
      },
      {
          id: 2,
          title: '友敏书院',
          latitude: 24.6154561,
          longitude: 118.06217259850986,
        ...commonMarkerConfig
      },
      {
          id: 3,
          title: '友恭书院',
          latitude: 24.6150574,
          longitude: 118.06244484272021,
        ...commonMarkerConfig
      },
      {
          id: 4,
          title: '友惠书院',
          latitude: 24.6150574,
          longitude: 118.06244484272021,
        ...commonMarkerConfig
      },
      {
          id: 5,
          title: '友仁书院',
          latitude: 24.61589259,
          longitude: 118.0626017519449,
        ...commonMarkerConfig
      },
      {
          id: 6,
          title: '友善书院',
          latitude: 24.61467823,
          longitude: 118.0627224513485,
        ...commonMarkerConfig
      },
      {
          id: 7,
          title: '友容书院',
          latitude: 24.61467823,
          longitude: 118.0627224513485,
        ...commonMarkerConfig
      }
  ]
};

// 餐饮相关标记点数据
const cateringData = {
   markersData: [{
     id: 0,
     title: '颐膳堂',
     latitude: 24.6156962,
     longitude: 118.06388384783209,
     ...commonMarkerConfig
   }, {
     id: 1,
     title: '和膳堂',
     latitude: 24.6164339,
     longitude: 118.06425667487876,
     ...commonMarkerConfig
   }, {
     id: 2,
     title: '原山餐厅',
     latitude: 24.6184590,
     longitude: 118.07156301211033,
     ...commonMarkerConfig
   }, {
     id: 3,
     title: '必胜客',
     latitude: 24.6156962,
     longitude: 118.06388384783209,
     ...commonMarkerConfig
   }, {
     id: 4,
     title: '肯德基',
     latitude: 24.6164339,
     longitude: 118.06425667487876,
     ...commonMarkerConfig
   }]
 }
 
 
 //停车场
 const parking ={
   markersData: [{
       id: 0,
       title: '二号门停车场',
       latitude: 24.61727152,
       longitude: 118.0710828967049,
       ...commonMarkerConfig
     },
     {
       id: 1,
       title: '四号门停车场',
       latitude: 24.6143197,
       longitude: 118.06119493334064,
       ...commonMarkerConfig
     }
   ]
 }
 //其它服务
const otherService={
  markersData: [{
    id: 0,
    title: '超市',
    latitude: 24.6158901,
    longitude: 118.06304163421581,
    ...commonMarkerConfig
  }, {
    id: 1,
    title: '健康',
    latitude: 24.6158840,
    longitude: 118.06260309304936,
    ...commonMarkerConfig
  }, {
    id: 2,
    title: '商业街',
    latitude: 24.6157901,
    longitude: 118.06294163421581,
    ...commonMarkerConfig
  }, {
    id: 3,
    title: '国际学术交流中心',
    latitude: 24.6179030,
    longitude: 118.07145170043813,
    ...commonMarkerConfig
  }, {
    id: 4,
    title: '春山系列',
    latitude: 24.6150964,
    longitude: 118.06190571871743,
    ...commonMarkerConfig
  }, {
    id: 5,
    title: '厦工体育',
    latitude: 24.6138930,
    longitude: 118.06320659006741,
    ...commonMarkerConfig
  }, {
    id: 6,
    title: '驾校',
    latitude: 24.6139235,
    longitude: 118.06217259850986,
    ...commonMarkerConfig
  }]
}

